package com.yyy.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yyy.model.Plan;
import com.yyy.service.inf.PlanService;
import com.yyy.springdata.jpa.PlanJpaDao;

@Service
public class PlanServiceImpl implements PlanService{

	@Autowired
	private PlanJpaDao planJpaDao;
	
	@Override
	public void test() {
		Plan plan = new Plan();
		plan.setName("asd");
		planJpaDao.save(plan);
		System.out.println("asd");
	}

	@Override
	public void add(List<?> objs) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void add(Object[] objs) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void add(Object obj) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void delete(Object obj) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void delete(int id) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void update(Object obj) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public List<?> find(Object obj) {
		// TODO Auto-generated method stub
		return null;
	}


}
